package com.guli.order.client;

import com.guli.commonutils.R;
import com.guli.commonutils.bean.CourseWebVo;
import com.guli.commonutils.bean.UcenterMember;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestHeader;

@Component
@FeignClient(name = "service-edu")
public interface EduClient {
    @ApiOperation("获取课程信息")
    @GetMapping("/eduservice/index/getCourseWebVoById/{courseId}")
    public CourseWebVo getById2(@PathVariable("courseId") String courseId);
}
